package drive.Model;

import lombok.Data;

import java.util.Date;
@Data
public class User {
    int userID;
    String username;
    String password;
    String email;
    int creditScore;
    Date createTime;
    Status status; // 枚举类型
    String headshot;

    public User(String testUser, String number, String mail) {
        this.username = testUser;
        this.password = number;
        this.email = mail;
    }

    public User() {

    }

    // 枚举类型
    public enum Status {
        normal, temporaryBan, permanentBan, admin
    }

}
